home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / conversion / pbmplus / doc / ppmarith.doc < prev    next >
Text File  |  1995-02-13  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppmarith(1)                 PBM Plus                  ppmarith(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      ppmarith - perform arithmetic on two portable pixmaps
  10.  
  11. SYNOPSIS
  12.      ppmarith -add|-subtract|-multiply ppmfile1 ppmfile2
  13.  
  14. DESCRIPTION
  15.      Reads two portable bitmaps as input.  Performs the specified
  16.      arithmetic operation, and produces a portable bitmap as out-
  17.      put.  The two input pixmaps must be the same width and
  18.      height.
  19.  
  20.      The arithmetic is performed between corresponding pixels in
  21.      the two bitmaps, with maxval as 1.0, black as 0.0, and a
  22.      linear scale in between.  Results that fall outside of
  23.      [0..1) are truncated.
  24.  
  25.      All flags can be abbreviated to their shortest unique pre-
  26.      fix.
  27.  
  28. SEE ALSO
  29.      pbmmask(1), pbmpaste(1), pnminvert(1), ppm(5)
  30.  
  31. AUTHOR
  32.      Copyright (C) 1989 by Jef Poskanzer.
  33.  
  34.      Permission to use, copy, modify, and distribute this
  35.      software and its documentation for any purpose and without
  36.      fee is hereby granted, provided that the above copyright
  37.      notice appear in all copies and that both that copyright
  38.      notice and this permission notice appear in supporting docu-
  39.      mentation.  This software is provided "as is" without
  40.      express or implied warranty.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 5/25/90          08 August 1989                         1
  64.  
  65.  
  66.  
  67.